import request from '@/utils/request'

// 获取认证申请列表
export function getList(params) {
  return request({
    url: '/api/pds/pdsCertApply/listCertApply',
    method: 'get',
    params
  })
}
// 删除认证申请
export function handleDelete(params) {
  return request({
    url: '/api/pds/pdsCertApply/deleteCertApply',
    method: 'delete',
    params
  })
}

// 保存认证申请
export function saveCertPlan(data) {
  return request.postJson({
    url: '/api/pds/pdsCertApply/save',
    data
  })
}

// 获取认证申请详情
export function getCertPlanDetail(id) {
  return request({
    url: '/api/pds/pdsCertApply/getCertApply/' + id,
    method: 'get'
  })
}

// 产品机型号下拉框
export function getPdsFileModelInfo() {
  return request({
    url: '/api/pds/pdsCertApply/getPdsFileModelInfo',
    method: 'get'
  })
}
